package com.xiaoran.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.xiaoran.springcloud.entitis.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult handlerException1(BlockException exception){
        return new CommonResult(4444,"按 handlerException ----------------1");
    }
    public static CommonResult handlerException2(BlockException exception){
        return new CommonResult(4444,"按 handlerException---------------2 ");
    }
}
